package com.rapid.maintenance.ui.activity.productmall;

import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.rapid.maintenance.R;
import com.rapid.maintenance.adapter.EvaluationAdapter;
import com.rapid.maintenance.base.BaseActivity;

import butterknife.BindView;


public class ProductMallAllEvaluationActivity extends BaseActivity {
    @BindView(R.id.evaluations)
    RecyclerView evaluations;
    @BindView(R.id.kefu)
    TextView kefu;
    @BindView(R.id.shangpu)
    TextView shangpu;
    @BindView(R.id.shoucang)
    TextView shoucang;
    @BindView(R.id.jiarugouwuche)
    TextView jiarugouwuche;
    @BindView(R.id.lijigoumai)
    TextView lijigoumai;
    @BindView(R.id.shopping_bar)
    RelativeLayout shoppingBar;
    private EvaluationAdapter adapter;

    @Override
    protected int provideRootLayout() {
        return R.layout.activity_product_mall_business_all_evaluation;
    }

    @Override
    protected void init() {
        setTitle("全部评价");
        setStatusBarColor(0xFF016DB6);
        setToolBarColor(0xFF016DB6);
        setMenu(R.drawable.pruduct_gouwuche, new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
        evaluations.setAdapter(adapter = new EvaluationAdapter());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
        adapter.addData(new Object());
    }
}
